<!--generate by auto 2015-09-21 15:03:04 -->
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="/ms-tags" prefix="ms"%>
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<c:import url="/public/include/msDocType.html" />
<html>
<head>
<c:import url="/common/base-hplus-list.jsp" />
<script type="text/javascript" src="/js/repay/repayment/card-list.js?v=${version }"></script>

</head>
<body>
  <form action="list.do" method="post" class="form-inline">
	<div class="ibox-content divSearchList" id="divSearchList">
		<div class="form-group">
			<ms:input name="code" value="${code }" placeholder="卡种编号"  dataMark="*%" cssClass="input-sm form-control" />
		</div>
		<div class="form-group">
			<ms:input name="name" value="${name }" placeholder="卡种名称"  dataMark="*%" cssClass="input-sm form-control" />
		</div>
		<div class="form-group">
			<button id="btnListQuery" type="submit" class="btn btn-sm btn-primary">搜索</button>	
			<button type="button" class="btn btn-success btn-sm" onclick="toAdd();">添加</button>
		</div>
	</div>
	
      
    <!-- 查询结果 -->
    <div class="ibox-content">
   	<table class="table table-bordered">
      <thead>
        <tr>
        	<th style="width:10%">卡种编码</th>
          	<th style="width:20%">卡中名称</th>
		 	<th style="width:20%">卡种类型</th>
		 	<th style="width:10%">到期时间</th>
		  	<th style="width:20%">卡号</th>
		  	<th style="width:10%">每月还款日</th>
		  	<th style="width:10%">操作</th>
        </tr>
      </thead>
      <tbody>
        <c:forEach var="entity" items="${pl.list}" varStatus="s">
          <tr>
			<td style="text-align:left">${entity.code}</td>
            <td style="text-align:left">${entity.name}</td>
			<td style="text-align:left">${entity.type}</td>
			<td style="text-align:left">${entity.endTime}</td>
			<td style="text-align:left">${entity.number}</td>
			<td style="text-align:left">${entity.repayDay}</td>
			<td style="text-align: center">
				<button type="button" class="btn btn-sm btn-primary" onClick="toAdd('${entity.id}');">修改</button>
			</td>
          </tr>
        </c:forEach>
      </tbody>
    </table>
    <c:import url="/public/include/changePage.jsp" />
   </div>
  </form>
  
</body>
</html>

